package lab01;

import java.util.Scanner;

public class Test07 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学生成绩： ");
        int score = sc.nextInt();

        if (score >= 85) {
            System.out.println("A");
        }
        if (score >= 70 && score < 85) {
            System.out.println("B");
        }
        if (score >= 60 && score < 70) {
            System.out.println("C");
        }
        if (score < 60) {
            System.out.println("D");
        }


    }
}
